!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define("rb_wixui.thunderbolt[Container_ResponsiveBox]",["react"],t):"object"==typeof exports?exports["rb_wixui.thunderbolt[Container_ResponsiveBox]"]=t(require("react")):e["rb_wixui.thunderbolt[Container_ResponsiveBox]"]=t(e.React)}("undefined"!=typeof self?self:this,function(e){return function(){var t={"Xdf/":function(t){"use strict";t.exports=e},Fe5V:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t.keyCode===e&&(t.preventDefault(),t.stopPropagation(),t.currentTarget.click())}}c(32),c(i),c(u);const l=["aria-id","aria-metadata","aria-type"],f=(e,t)=>Object.entries(e).reduce((e,[r,n])=>(t.includes(r)||(e[r]=n),e),{}),d="wixui-",p=(e,...t)=>{const r=[];return e&&r.push(`${d}${e}`),t.forEach(e=>{e&&(r.push(`${d}${e}`),r.push(e))}),r.join(" ")};var b="cwL6XW";var v={root:"repeater",repeaterItem:"repeater__item"},x="PiVxGu",m="MDrwHQ",y="YqUfCX",C="yPXgy9";const g=(e,n)=>{var o;const{id:a,className:i,containerRootClassName:u="",customClassNames:c=[],children:d,role:g,onClick:h,onKeyPress:_,onDblClick:j,onFocus:w,onBlur:O,onMouseEnter:I,onMouseLeave:P,hasPlatformClickHandler:M,translations:N,a11y:R={},ariaAttributes:k={},tabIndex:E,isRepeaterItem:L=!1,observeChildListChange:B,containerProps:D,shouldUseContainerLayoutClass:S,lang:X}=e,{"aria-label-interactions":$,tabindex:F,...q}=R;$&&(q["aria-label"]=(null==N?void 0:N.ariaLabel)||"Interactive element, focus to trigger content change");const A=r.useRef(null);r.useImperativeHandle(n,()=>({focus:()=>{var e;null==(e=A.current)||e.focus()},blur:()=>{var e;null==(e=A.current)||e.blur()}}));const H=()=>L?v.repeaterItem:e.semanticClassNames?e.semanticClassNames.root:"";return r.useEffect(()=>{B&&null!=A&&A.current&&B(a,A.current)},[]),r.createElement("div",t()({id:a},(e=>Object.entries(e).reduce((e,[t,r])=>(t.includes("data-")&&(e[t]=r),e),{}))(e),{ref:A},q,{lang:X},(({role:e,tabIndex:t,tabindex:r,...n}={})=>{const o=Object.entries(n).reduce((e,[t,r])=>({...e,[`aria-${t}`.toLowerCase()]:r}),{role:e,tabIndex:t??r});return Object.keys(o).forEach(e=>{void 0!==o[e]&&null!==o[e]||delete o[e]}),f(o,l)})({...k,role:null!=(o=q.role)?o:g}),((e={})=>{const t=e.tabIndex??e.tabindex??void 0;return void 0!==t?{tabIndex:Number(t)}:{}})({tabIndex:E,tabindex:F}),{className:s(x,m,u,i,{[b]:M},p(H(),...c)),onDoubleClick:j,onClick:h,onKeyDown:e=>{_&&(" "===e.key&&e.preventDefault(),_(e))},onFocus:w,onBlur:O,onMouseEnter:I,onMouseLeave:P,dir:"ltr"}),r.createElement("div",{className:s(C,y,"inner-box",p(H(),...c),{[D.containerLayoutClassName]:S})}),d())};var h=r.forwardRef(g);var _={root:"box"};const j=(e,n)=>r.createElement(h,t()({},e,{ref:n,semanticClassNames:_}));const w={Container_ResponsiveBox:{component:r.forwardRef(j)}}}(),o}()}); //# sourceMappingURL=https://static.parastorage.com/services/editor-elements-library/dist/thunderbolt/rb_wixui.thunderbolt[Container_ResponsiveBox].ffa0cc30.bundle.min.js.map